class CreateUsers < ActiveRecord::Migration
  def change
    create_table :users do |t|
      t.string  :user_name, :limit => 50
      t.string  :hashed_password, :limit => 100
      t.string  :hash_salt, :limit => 20
      t.integer :group_id
      t.string  :phone, :limit => 20
      t.integer :user_status
      t.integer :user_type

      t.timestamps null: false
    end
  end
end
